<?php
/*
 * @Author: your name
 * @Date: 2019-12-07 15:44:49
 * @LastEditTime: 2020-10-23 14:25:28
 * @LastEditors: Please set LastEditors
 * @Description: 客户端登录控制器
 * @FilePath: /php/application/api/controller/ClientLoginController.php
 */
namespace app\api\controller;

use app\api\service\client_login\ClientLoginService;
use app\api\service\client_login\DisguiseLoginService;
use app\api\service\client_login\HgshieldLoginService;
use app\api\service\client_login\NetfilterLoginService;

class ClientLoginController extends BaseController
{
    /**
     * @name: netfilter模块登陆
     * @Param: 
     * @Description: 
     * @Author: foo
     * @Date: 2019-12-07 13:51:40
     */
    public function netfilter ()
    {
        $inputData = $this->filterInput();

        $NetfilterLoginService = new NetfilterLoginService();

        $data = $NetfilterLoginService->requestData($inputData);
        
        return $this->jsonOutPut($data);

    }

    /**
     * @name: 客户端模块登录
     * @Param: 
     * @Description: 
     * @Author: foo
     * @Date: 2019-12-07 13:51:40
     */
    public function client ()
    {
        $inputData = $this->filterInput();

        $ClientLoginService = new ClientLoginService();

        $data = $ClientLoginService->requestData($inputData);
        
        return $this->jsonOutPut($data);

    }
    /**
     * @name: 客户端登陆
     * @Param: 
     * @Description: 
     * @Author: foo
     * @Date: 2019-12-07 13:51:40
     */
    public function disguise ()
    {
        $inputData = $this->filterInput();

        $DisguiseLoginService = new DisguiseLoginService();

        $data = $DisguiseLoginService->requestData($inputData);
        
        return $this->jsonOutPut($data);

    }

    /**
     * @name: 函谷盾模块登录
     * @Param: 
     * @Description: 
     * @Author: foo
     * @Date: 2019-12-07 13:51:40
     */
    public function hgshield ()
    {
        $inputData = $this->filterInput();

        $HgshieldLoginService = new HgshieldLoginService();

        $data = $HgshieldLoginService->requestData($inputData);
        
        return $this->jsonOutPut($data);

    }
}